package com.situ.mall.web.controller;

import com.situ.mall.common.mapper.RecoveryMapper;
import com.situ.mall.common.service.IRecoveryService;
import com.situ.mall.common.vo.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangkx
 * @create 2024-04-23-3:37
 */
@RestController
@RequestMapping("/client")
public class RecoveryController {

    @Autowired
    private IRecoveryService recoveryService;

    @Autowired
    private RecoveryMapper recoveryMapper;

    // 获取康复治疗选项列表
    @GetMapping("/recovery/selectList")
    public ResultVO selectList() {
        return ResultVO.data(200, "请求成功", recoveryMapper.selectList());
    }
}
